package org.jeecg.modules.monitoring.j_monitoring.service;

import org.jeecg.modules.monitoring.j_monitoring.entity.MDocumentAttachment;
import com.baomidou.mybatisplus.extension.service.IService;

import jakarta.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: 文档附件
 * @Author: xiaoyq
 * @Date:   2023-06-26
 * @Version: V1.0
 */
public interface IMDocumentAttachmentService extends IService<MDocumentAttachment> {

    /**
     * 保存文档
     * @param request
     */
    void saveOneFileComment(HttpServletRequest request);

    /**
     * 查询文档
     * @param parentId
     * @param fileName
     * @return
     */
    List<MDocumentAttachment> queryFileList(String parentId, String fileName);
}
